EnumTypeDef.hIntroductionUse the links in the table of contents to the left to access the documentation. Typedefs
Alignmenttypedef enum{ Align_NoSetting = -1, Align_Left = 0, Align_Center = 1, Align_Right = 2, Align_Full=3 } Alignment; Constants
Discussion对齐模式 Alignment mode BarcodeHRIpostypedef enum{ BarcodeHRIpos_noprint=0, BarcodeHRIpos_above=1, BarcodeHRIpos_Below=2, BarcodeHRIpos_both=3, }BarcodeHRIpos; Discussion条码文字显示位置 Bar code text display position for ESC - BarcodeHRIpos_noprint: 不打印 not printer - BarcodeHRIpos_above: 在条码上方 Above the bar code - BarcodeHRIpos_Below: 在条码下方 Under the bar code - BarcodeHRIpos_both: 在条码的上方及下方 Above and below the bar code BarcodeTypetypedef enum{ BarcodeTypeUPC_A=0, BarcodeTypeUPC_E=1, BarcodeTypeEAN13=2, BarcodeTypeEAN8=3, BarcodeTypeCODE39=4, BarcodeTypeITF =5, BarcodeTypeCODABAR=6, BarcodeTypeCODE128=7, BarcodeTypeQrcode=8, BarcodeTypeCODE93=9,//not support }BarcodeType; Discussion条码类别 barcode type - BarcodeTypeUPC_A: UPC_A - BarcodeTypeEAN13: EAN13 - BarcodeTypeEAN8: EAN8 - BarcodeTypeCODE39: CODE39 - BarcodeTypeITF: ITF - BarcodeTypeCODABAR: CODABAR - BarcodeTypeQrcode: Qrcode BleServiceStatustypedef enum { BleScanComplete, /*正在扫描 Scanning*/ BleScanDevice, }BleServiceStatus; FieldsDiscussion蓝牙的当前的操作状态 The current operating status of Bluetooth BleWriteTypetypedef enum{ bleWriteWithResponse=0, bleWriteWithoutResponse=1 }BleWriteType; Discussion蓝牙写入方式 Bluetooth write mode BlueToothKindtypedef enum { BlueToothKind_Ble = 0, BlueToothKind_Classic = 1, } BlueToothKind; Constants
Discussion蓝牙类别 Bluetooth kind CPCLFontTypetypedef enum{ CPCLFontType_Font1 = 1, CPCLFontType_Font2 = 2, CPCLFontType_Font3 = 3, CPCLFontType_Font4 = 4, CPCLFontType_Font5 = 5, CPCLFontType_Font6 = 6, CPCLFontType_Font7 = 7, } CPCLFontType; DiscussionCPCL字体类型(for CPCL) CPCL type CutterModetypedef enum{ CutterMode_None = 0, CutterMode_half = 1, CutterMode_Full = 2, } CutterMode; Constants
Discussion切刀模式 Cutter mode ECC_leveltypedef enum{ ECC_level_L, ECC_level_M, ECC_level_Q, ECC_level_H }ECC_level; FieldsDiscussion错误纠正能力等级 Error correction level 适用于TSC的二维码 Two-dimensional code for TSC EncodingTypetypedef enum{ Encoding_GBK = 0, Encoding_UTF8 = 1 }EncodingType; Discussion编码类型 encoding type - Encoding_GBK: GBK - Encoding_UTF8: UTF8 ESCFontTypetypedef enum{ ESCFontType_FontA = 0, ESCFontType_FontB = 1, } ESCFontType; Constants
DiscussionESC字体类型(For ESc) ESC font type FontStyle836typedef enum{ FontStyle836_Normal=0, FontStyle836_Hollow=1, FontStyle836_shadow=2, FontStyle836_shadowAndHollow=3 }FontStyle836; Constants
Discussion针打的字体风格 Font style (For pin) JumpModetypedef enum { JumpMode_Forward=0, JumpMode_Reverse=1 } JumpMode; Constants
Discussion跳行模式(for Pin) Jump mode LableDirectiontypedef enum{ Direction_Forward=0, Direction_Reverse=1, }LableDirection; Discussion标签打印方向(for TSC,CPCL,zpl) Label printing direction PageLengthTypetypedef enum { pglen_INCH_3=0, //3 inch pglen_INCH_11_divided_by_3=1, //11/3 inch pglen_INCH_3_5=2,//3.5 inch pglen_INCH_4=3,//3 inch pglen_INCH_5=4, pglen_INCH_5_5=5,//5.5 pglen_INCH_6=6, pglen_INCH_7=7, pglen_INCH_11=8, pglen_INCH_A4_11_6=9,//11.6 pglen_INCH_12=10,//10 pglen_INCH_14=11, }PageLengthType; Discussion设置页长命令 for pin Setting the page Length PageUnittypedef enum{ PageUnit_Row=0, PageUnit_inch=1 }PageUnit; Constants
Discussion页长单位(for Pin) Page length unit PrintDirectionModetypedef enum { Print_double_sided = 0, Print_single_sided = 1, Print_Full_sided = 2 } PrintDirectionMode; Constants
Discussion打印方向(for Pin) Print direction PrinterCmdTypetypedef enum { PrinterCmdESC = 0, PrinterCmdTSC = 1, PrinterCmdCPCL = 2, PrinterCmdPIN = 3, PrinterCmdZPL = 4 }PrinterCmdType; Discussion指令类型 Instruction type PrinterCodeErrortypedef enum { PrinterCodeOK = 0, PrinterCodeTooLong = -1, PrinterCodeFormatError = -2, PrinterCodeUnknowType = -3, PrinterCodeTooShort = -4, }PrinterCodeError; Discussion打印条码返回的值 Print the value returned by the bar code - PrinterCodeOK: 条码正确 The bar code is correct - PrinterCodeTooLong: 条码太长 Bar code is too long - PrinterCodeFormatError: 条码格式有误 Barcode format is wrong - PrinterCodeUnknowType: 未知条码类型 Unknown barcode type - PrinterCodeTooShort: 条码太短 Barcode is too short PrinterPortTypetypedef enum { PrinterPortWifi=0, PrinterPortBle=1, PrinterPortMFI=2, }PrinterPortType; Discussion连接端口类型 Connection port type PrintStautsCmdtypedef enum { PrnStautsCmd_unknown = 0, PrnStautsCmd_HQPRNSTA410 = 1, PrnStautsCmd_Normal = 2, PrnStautsCmd_Mileage = 3, PrnStautsCmd_ModelName = 4, PrnStautsCmd_MemorySize = 5, PrnStautsCmd_PrintEnd=6, }PrintStautsCmd; Constants
Discussion打印机状态询问命令 printer Stauts enquiry RotateTypeConstantsDiscussion条码顺时间旋转 Bar code clockwise rotation ESC 只能旋转90度 ESC Can only rotate 90 degrees RowSpacingModetypedef enum { Row60th = 1, Row180th = 2, Row360th = 3,// RowOneSixth = 4, RowOneeighth = 5, } RowSpacingMode; Constants
Discussion行距模式(for Pin) Row spacing mode SettingModetypedef enum { Set_NoSetting = -1, Set_DisEnable = 0, Set_Enabled = 1 } SettingMode; Constants
Discussion设置是否可用 TSCFontTypetypedef enum{ TSCFontType_Font1 = 1, TSCFontType_Font2 = 2, TSCFontType_Font3 = 3, TSCFontType_Font4 = 4, TSCFontType_Font5 = 5, TSCFontType_Font6 = 6, TSCFontType_Font7 = 7, TSCFontType_Font8 = 8, TSCFontType_TST24 = 9, TSCFontType_TSS24 = 10, TSCFontType_K=11, } TSCFontType; Constants
DiscussionTSC字体类型(For TSC) TSC 字体类型 ZPLFontTypetypedef enum { ZplFontType_Vector = 0,//矢量字体 Vector font ZplFontType_Font1 = 1, ZplFontType_Font2 = 2, ZplFontType_Font3 = 3, ZplFontType_Font4 = 4, ZplFontType_Font5 = 5, ZplFontType_Font6 = 6, ZplFontType_Font7 = 7, ZplFontType_Font8 = 8, ZplFontType_Font9 = 9, ZplFontType_FontA = 10, //A ZplFontType_FontB = 11, //B ZplFontType_FontC = 12, //C ZplFontType_FontD = 13, //D ZplFontType_FontE = 14, //E ZplFontType_FontF = 15, //F ZplFontType_FontG = 16, //G } ZPLFontType; DiscussionZPL字体类型(for ZPL) ZPL type Structs and UnionsCoordinatestruct Coordinate { NSInteger x; NSInteger y; NSInteger width; NSInteger height; }; FieldsDiscussion坐标 coordinate |